package org.zjvis.datascience.service.mapper;

import org.springframework.stereotype.Component;
import org.zjvis.datascience.common.dto.kg.DataPushDTO;
import org.zjvis.datascience.common.dto.kg.KnowledgeGraphDTO;
import org.zjvis.datascience.common.vo.kg.KnowledgeGraphVO;

import java.util.List;

/**
 * @description 知识图谱Mapper
 * @date 2022-03-29
 */
@Component
public interface KnowledgeGraphMapper {

    Long insert(KnowledgeGraphDTO kg);

    Long update(KnowledgeGraphDTO kg);

    KnowledgeGraphDTO queryByProjectId(KnowledgeGraphDTO kg);

    List<KnowledgeGraphDTO> queryByUserId(KnowledgeGraphDTO kg);

    KnowledgeGraphDTO queryById(KnowledgeGraphDTO kg);

    void delete(KnowledgeGraphDTO kg);

    void cleanByProjectId(KnowledgeGraphDTO kg);

}